home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / devices / parallel.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  1KB  |  48 lines

  1. #ifndef    DEVICES_PARALLEL_H
  2. #define    DEVICES_PARALLEL_H
  3. #ifndef    EXEC_IO_H
  4. #include    "exec/io.h"
  5. #endif    /* !EXEC_IO_H */
  6. struct    IOPArray    {
  7. ULONG    PTermArray0;
  8. ULONG    PTermArray1;
  9. };
  10. struct    IOExtPar    {
  11. struct    IOStdReq    IOPar;
  12. ULONG    io_PExtFlags;
  13. UBYTE    io_Status;
  14. UBYTE    io_ParFlags;
  15. struct    IOPArray    io_PTermArray;
  16. };
  17. #define    PARB_SHARED    5L
  18. #define    PARF_SHARED    (1L<<5)
  19. #define    PARB_RAD_BOOGIE    3L
  20. #define    PARF_RAD_BOOGIE    (1L<<3)
  21. #define    PARB_EOFMODE    1L
  22. #define    PARF_EOFMODE    (1L<<1)
  23. #define    IOPARB_QUEUED    6L
  24. #define    IOPARF_QUEUED    (1L<<6)
  25. #define    IOPARB_ABORT    5L
  26. #define    IOPARF_ABORT    (1L<<5)
  27. #define    IOPARB_ACTIVE    4L
  28. #define    IOPARF_ACTIVE    (1L<<4)
  29. #define    IOPTB_RWDIR    3L
  30. #define    IOPTF_RWDIR    (1L<<3)
  31. #define    IOPTB_PARSEL    2L
  32. #define    IOPTF_PARSEL    (1L<<2)
  33. #define    IOPTB_PAPEROUT    1L
  34. #define    IOPTF_PAPEROUT    (1L<<1)
  35. #define    IOPTB_PARBUSY    0L
  36. #define    IOPTF_PARBUSY    (1L<<0)
  37. #define    PARALLELNAME    "parallel.device"
  38. #define    PDCMD_QUERY    (CMD_NONSTD)
  39. #define    PDCMD_SETPARAMS    (CMD_NONSTD+1)
  40. #define    ParErr_DevBusy    1L
  41. #define    ParErr_BufTooBig    2L
  42. #define    ParErr_InvParam    3L
  43. #define    ParErr_LineErr    4L
  44. #define    ParErr_NotOpen    5L
  45. #define    ParErr_PortReset    6L
  46. #define    ParErr_InitErr    7L
  47. #endif
  48.